package factoryMethod;

public class Divide extends Operation {
	public double getResult(){
		return num2!=0?num1/num2:0;
	}
}
